{"ast":null,"code":"import { useTheme as muiUseTheme } from '@mui/private-theming';\nfunction isObjectEmpty(obj) {\n  return Object.keys(obj).length === 0;\n}\nfunction useTheme() {\n  var defaultTheme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n  var contextTheme = muiUseTheme();\n  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;","map":{"version":3,"names":["useTheme","muiUseTheme","isObjectEmpty","obj","Object","keys","length","defaultTheme","contextTheme"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/system/esm/useThemeWithoutDefault.js"],"sourcesContent":["import { useTheme as muiUseTheme } from '@mui/private-theming';\nfunction isObjectEmpty(obj) {\n  return Object.keys(obj).length === 0;\n}\nfunction useTheme(defaultTheme = null) {\n  const contextTheme = muiUseTheme();\n  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;"],"mappings":"AAAA,SAASA,QAAQ,IAAIC,WAAW,QAAQ,sBAAsB;AAC9D,SAASC,aAAa,CAACC,GAAG,EAAE;EAC1B,OAAOC,MAAM,CAACC,IAAI,CAACF,GAAG,CAAC,CAACG,MAAM,KAAK,CAAC;AACtC;AACA,SAASN,QAAQ,GAAsB;EAAA,IAArBO,YAAY,uEAAG,IAAI;EACnC,IAAMC,YAAY,GAAGP,WAAW,EAAE;EAClC,OAAO,CAACO,YAAY,IAAIN,aAAa,CAACM,YAAY,CAAC,GAAGD,YAAY,GAAGC,YAAY;AACnF;AACA,eAAeR,QAAQ"},"metadata":{},"sourceType":"module"}